<template>
    <view>
        <view class="topContent">
            <view><u-icon name="arrow-left" size="20" bold></u-icon></view>
            <view>{{ navTitle }}</view>
            <view><u-icon name="more-dot-fill" size="20" bold></u-icon></view>
        </view>
        <view class="safe"></view>
    </view>
</template>

<script setup>
defineProps({
    navTitle: {
        type: String,
        default: ''
    }
});
</script>

<style lang="scss">
.topContent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    @include flex-box();
    padding: 30rpx 35rpx;
    font-weight: bold;
    z-index: 200;
    background-color: #fff;
}
.safe {
    height: 100rpx;
}
</style>
